package com.kingyun.gpsinspection.purificationservice.services.jsm.outerservice.impl;

import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Ztree;
import com.kingyun.gpsinspection.purificationservice.facade.service.jsm.OutServiceNodeService;
import com.kingyun.gpsinspection.purificationservice.facade.service.jsm.servicenode.JsmServiceNodeService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by huangxueqian on 2017/2/9/009.
 * 业务体系：业务节点查询
 */

public class OutServiceNodeImpl implements OutServiceNodeService {
    @Autowired
    private JsmServiceNodeService serviceNodeService ;
    @Override
    public List<Ztree> loadServiceNode(String nodeName) {

        return serviceNodeService.getInitZtree(nodeName);
    }
}
